package src.lab01;

public class Test09 {
    public static void main(String[] args) {
        char letter;
        letter=65;
        int k=1;
        for (int i=1;i<=4;i++){
            for (int j=1;j<=4-i;j++)
            {System.out.print(" ");}
            for (;k<=i;k++){
                System.out.print(letter+" ");
                letter++;
            }

            k=1;
            System.out.println();
        }
        k=1;
        for (int i=1;i<=4;i++){
            for (int j=1;j<i;j++)
            {System.out.print(" ");}
            for (;k<=5-i;k++){
                System.out.print(letter+" ");
                letter++;
            }
            k=1;
            System.out.println();
        }

    }
}

